<?php

if (!isset($_GET ['action'])|| $_GET ['action'] == 'index' ){
	
	include 'protected/main.php';
}
elseif ($_GET ['action'] == 'admin')
{
	include 'protected/admin.php';
}
elseif ($_GET ['action'] == 'list_page')
{
	
	include 'protected/lista_pages.php';	
	
} 
elseif ($_GET ['action'] == 'page'){
	
	include 'protected/page.php';}

else {
	
	include 'protected/error.php';
}

